<template>
  <div :class="{'search-box':true,pt0:path=='/student/only'}">
    <TableHead :btns="btns"></TableHead>
    <SearchContent :searchData="searchData" :search="search" :pageInfo="pageInfo"></SearchContent>
  </div>
</template>
<script>
import TableHead from "./tableHead"
import SearchContent from "./searchContent.vue"
export default {
  props:["btns","searchData","search","pageInfo"],
  components: {TableHead,SearchContent},
  name: "",
  data() {
    return {
      path:"",
    };
  },
  methods: {},
  created() {
    this.path=_g.getRouterPath(this)
  }
};
</script>
<style scoped>
.search-box{
  padding-top: 20px;
}
.pt0{
  padding-top: 0;
}
</style>